﻿
@using PayrollExpress.Models;
@model BreadCrumbModel

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>@Model.ActivePage</h2>
        <ol class="breadcrumb">
            <li>
                @Model.Controller
            </li>

            @if (Model.ParentLinks != null)
            {
                for (var i = 0; i < Model.ParentLinks.Count(); i++)
                {
                    <li>
                        @Html.ActionLink(Model.ParentLinks[i].Value, Model.ParentLinks[i].Key, Model.Controller)
                    </li>
                }
            }


            <li class="active">
                <strong>@Model.ActivePage</strong>
            </li>
        </ol>
    </div>
    <div class="col-lg-2"></div>
</div>